package com.xie.dao;

import com.xie.pojo.Course;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseMapper {

    int addCourse(Course course);

    List<Course> queryAllCourse();

    int deleteCourse(@Param("cid") int cid);

    int updateCourse(Course course);

    Course queryCourse(@Param("cid") int cid);



}
